package com.passive.lock.mapper;

import com.passive.lock.model.po.TDept;
import com.passive.lock.model.po.TDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TDeptMapper {
    /**
     *
     * @mbggenerated 2017-07-28
     */
    int countByExample(TDeptExample example);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int deleteByExample(TDeptExample example);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int insert(TDept record);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int insertSelective(TDept record);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    List<TDept> selectByExample(TDeptExample example);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    TDept selectByPrimaryKey(String id);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int updateByExampleSelective(@Param("record") TDept record, @Param("example") TDeptExample example);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int updateByExample(@Param("record") TDept record, @Param("example") TDeptExample example);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int updateByPrimaryKeySelective(TDept record);

    /**
     *
     * @mbggenerated 2017-07-28
     */
    int updateByPrimaryKey(TDept record);
}